import Vue from 'vue'
import App from './App'


//常用组件，全局注册
import tsBadge from "./components/teaset/components/ts-badge/ts-badge.vue";
import tsTag from "./components/teaset/components/ts-tag/ts-tag.vue";
import tsTagSelector from "./components/teaset/components/ts-tag/ts-tag-selector.vue";

import tsIcon from "./components/teaset/components/ts-icon/ts-icon.vue";
import tsList from "./components/teaset/components/ts-list/ts-list.vue";
import tsListItem from "./components/teaset/components/ts-list/ts-list-item.vue";
import tsNoticeBar from "./components/teaset/components/ts-notice-bar/ts-notice-bar.vue";
import tsSteps from "./components/teaset/components/ts-steps/ts-steps.vue";
import tsSearchBar from "./components/teaset/components/ts-search-bar/ts-search-bar.vue";
import tsSegmentedControl from "./components/teaset/components/ts-segmented-control/ts-segmented-control.vue";
import tsFab from "./components/teaset/components/ts-fab/ts-fab.vue";


import tsSwipeAction from "./components/teaset/components/ts-swipe-action/ts-swipe-action.vue";




import tsButton from "./components/teaset/components/ts-button.vue";
import tsBanner from "./components/teaset/components/ts-banner/ts-banner.vue";
import tsCityPicker from './components/teaset/components/ts-city-picker.vue';
import tsDrawer from "./components/teaset/components/ts-drawer.vue";
import tsFeedbackStar from './components/teaset/components/ts-feedback-star.vue';

import tsLeftCategory from './components/teaset/components/ts-left-category.vue';
import tsLoadMore from "./components/teaset/components/ts-load-more.vue";
import tsLine from './components/teaset/components/ts-line/ts-line.vue';
import tsGap from './components/teaset/components/ts-gap/ts-gap.vue';

import tsPopup from "./components/teaset/components/ts-popup/ts-popup.vue";
import tsPopupAd from "./components/teaset/components/ts-popup/ts-popup-ad.vue";


import tsTimeline from './components/teaset/components/ts-timeline/ts-timeline.vue';
import tsTimelineItem from './components/teaset/components/ts-timeline/ts-timeline-item.vue';


import tsSection from './components/teaset/components/ts-section/ts-section.vue'
import tsSectionTitle from './components/teaset/components/ts-section/ts-section-title.vue'
import tsSectionBody from './components/teaset/components/ts-section/ts-section-body.vue'
import tsSectionFooter from './components/teaset/components/ts-section/ts-section-footer.vue'
//全局注册
Vue.component('ts-badge', tsBadge);
Vue.component('ts-icon', tsIcon);
Vue.component('ts-line', tsLine);
Vue.component('ts-gap', tsGap);
Vue.component('ts-tag', tsTag);
Vue.component('ts-tag-selector', tsTagSelector);
Vue.component('ts-banner', tsBanner);
Vue.component('ts-load-more', tsLoadMore);
Vue.component('ts-button', tsButton);
Vue.component('ts-search-bar', tsSearchBar);
Vue.component('ts-segmented-control', tsSegmentedControl);
Vue.component('ts-list', tsList);

Vue.component('ts-list-item', tsListItem);
Vue.component('ts-fab', tsFab);
Vue.component('ts-popup', tsPopup);

Vue.component('ts-section', tsSection);
Vue.component('ts-section-title', tsSectionTitle);
Vue.component('ts-section-body', tsSectionBody);
Vue.component('ts-section-footer', tsSectionFooter);

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
